package com.jsoft.jsofted.framework.utils;

public class CocException extends RuntimeException {
    private int errorCode;

    public CocException() {
    }

    public CocException(Throwable e) {
        super(e);
    }

    public CocException(String msg) {
        super(msg);
    }

    public CocException(String msg, int errorCode) {
        super(msg);
        this.errorCode = errorCode;
    }

    public int getErrorCode() {
        return errorCode;
    }
}
